package com.Ritany3.subject.domain.handler.subject;

import com.Ritany3.subject.common.enums.SubjectInfoTypeEnum;
import com.Ritany3.subject.domain.entity.SubjectInfoBO;
import com.Ritany3.subject.domain.entity.SubjectOptionBO;

public interface SubjectTypeHandler {
    /**
     * 枚举身份识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();

    /**
     * 实际题目插入
     */

    void add(SubjectInfoBO subjectInfoBO);

    /**
     * 实际题目插入
     */

    SubjectOptionBO query(int subjectId);


}
